Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add django-debug-toolbar #73

Merged
merged 4 commits into from
Oct 23, 2024
Merged

Add django-debug-toolbar #73

merged 4 commits into from
Oct 23, 2024

Conversation

tim-schilling
Copy link
Member

References #34

Copy link

github-actions bot commented Oct 16, 2024

Terraform plan in terraform
With var files: terraform/production/org.tfvars terraform/production/repositories.tfvars
With variables: github_token = (sensitive value)

Plan: 1 to import, 12 to add, 1 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create
!~  update in-place

Terraform will perform the following actions:

  # github_repository.this["django-debug-toolbar"] will be updated in-place
  # (imported from "django-debug-toolbar")
!~  resource "github_repository" "this" {
!~      allow_auto_merge            = false -> true
        allow_merge_commit          = true
        allow_rebase_merge          = true
        allow_squash_merge          = true
!~      allow_update_branch         = false -> true
+       archive_on_destroy          = true
        archived                    = false
        auto_init                   = false
        default_branch              = "main"
!~      delete_branch_on_merge      = false -> true
        description                 = "A configurable set of panels that display various debug information about the current request/response."
        etag                        = "W/\"5b8c3d51c0bc26631c6d614f96655067a3a0e156ad4a92392afbbfec239d1869\""
        full_name                   = "django-commons/django-debug-toolbar"
        git_clone_url               = "git://github.com/django-commons/django-debug-toolbar.git"
        has_discussions             = false
        has_downloads               = true
        has_issues                  = true
        has_projects                = true
        has_wiki                    = true
!~      homepage_url                = "https://django-debug-toolbar.readthedocs.io/" -> "https://django-debug-toolbar.readthedocs.io"
        html_url                    = "https://github.com/django-commons/django-debug-toolbar"
        http_clone_url              = "https://github.com/django-commons/django-debug-toolbar.git"
        id                          = "django-debug-toolbar"
        is_template                 = false
        merge_commit_message        = "PR_TITLE"
        merge_commit_title          = "MERGE_MESSAGE"
        name                        = "django-debug-toolbar"
        node_id                     = "****************************"
        primary_language            = "Python"
        private                     = false
        repo_id                     = 46939
        squash_merge_commit_message = "COMMIT_MESSAGES"
        squash_merge_commit_title   = "COMMIT_OR_PR_TITLE"
        ssh_clone_url               = "git@github.com:django-commons/django-debug-toolbar.git"
        svn_url                     = "https://github.com/django-commons/django-debug-toolbar"
        topics                      = []
        visibility                  = "public"
        vulnerability_alerts        = true
        web_commit_signoff_required = false

        security_and_analysis {
            secret_scanning {
                status = "disabled"
            }
            secret_scanning_push_protection {
                status = "disabled"
            }
        }
    }

  # github_repository_environment.pypi["django-debug-toolbar"] will be created
+   resource "github_repository_environment" "pypi" {
+       can_admins_bypass   = true
+       environment         = "pypi"
+       id                  = (known after apply)
+       prevent_self_review = false
+       repository          = "django-debug-toolbar"

+       reviewers {
+           teams = (known after apply)
        }
    }

  # github_repository_environment.testpypi["django-debug-toolbar"] will be created
+   resource "github_repository_environment" "testpypi" {
+       can_admins_bypass   = true
+       environment         = "testpypi"
+       id                  = (known after apply)
+       prevent_self_review = false
+       repository          = "django-debug-toolbar"
    }

  # github_team.repo_admin_team["django-debug-toolbar"] will be created
+   resource "github_team" "repo_admin_team" {
+       create_default_maintainer = false
+       description               = "Admin team for the django-debug-toolbar repository"
+       etag                      = (known after apply)
+       id                        = (known after apply)
+       members_count             = (known after apply)
+       name                      = "django-debug-toolbar-admins"
+       node_id                   = (known after apply)
+       parent_team_id            = (known after apply)
+       parent_team_read_id       = (known after apply)
+       parent_team_read_slug     = (known after apply)
+       privacy                   = "closed"
+       slug                      = (known after apply)
    }

  # github_team.repo_committer_team["django-debug-toolbar"] will be created
+   resource "github_team" "repo_committer_team" {
+       create_default_maintainer = false
+       description               = "Committers team for the django-debug-toolbar repository"
+       etag                      = (known after apply)
+       id                        = (known after apply)
+       members_count             = (known after apply)
+       name                      = "django-debug-toolbar-committers"
+       node_id                   = (known after apply)
+       parent_team_id            = (known after apply)
+       parent_team_read_id       = (known after apply)
+       parent_team_read_slug     = (known after apply)
+       privacy                   = "closed"
+       slug                      = (known after apply)
    }

  # github_team.repo_team["django-debug-toolbar"] will be created
+   resource "github_team" "repo_team" {
+       create_default_maintainer = false
+       description               = "Main team for the django-debug-toolbar repository"
+       etag                      = (known after apply)
+       id                        = (known after apply)
+       members_count             = (known after apply)
+       name                      = "django-debug-toolbar"
+       node_id                   = (known after apply)
+       parent_team_read_id       = (known after apply)
+       parent_team_read_slug     = (known after apply)
+       privacy                   = "closed"
+       slug                      = (known after apply)
    }

  # github_team_members.repo_admin_members["django-debug-toolbar"] will be created
+   resource "github_team_members" "repo_admin_members" {
+       id      = (known after apply)
+       team_id = (known after apply)

+       members {
+           role     = "maintainer"
+           username = "tim-schilling"
        }
+       members {
+           role     = "member"
+           username = "matthiask"
        }
    }

  # github_team_members.repo_committer_team_members["django-debug-toolbar"] will be created
+   resource "github_team_members" "repo_committer_team_members" {
+       id      = (known after apply)
+       team_id = (known after apply)

+       members {
+           role     = "member"
+           username = "elineda"
        }
+       members {
+           role     = "member"
+           username = "living180"
        }
+       members {
+           role     = "member"
+           username = "salty-ivy"
        }
    }

  # github_team_members.repo_team_members["django-debug-toolbar"] will be created
+   resource "github_team_members" "repo_team_members" {
+       id      = (known after apply)
+       team_id = (known after apply)

+       members {
+           role     = "maintainer"
+           username = "tim-schilling"
        }
+       members {
+           role     = "member"
+           username = "VeldaKiara"
        }
+       members {
+           role     = "member"
+           username = "elineda"
        }
+       members {
+           role     = "member"
+           username = "living180"
        }
+       members {
+           role     = "member"
+           username = "matthiask"
        }
+       members {
+           role     = "member"
+           username = "salty-ivy"
        }
    }

  # github_team_repository.repo_admin_team_access["django-debug-toolbar"] will be created
+   resource "github_team_repository" "repo_admin_team_access" {
+       etag       = (known after apply)
+       id         = (known after apply)
+       permission = "admin"
+       repository = "django-debug-toolbar"
+       team_id    = (known after apply)
    }

  # github_team_repository.repo_committer_team_access["django-debug-toolbar"] will be created
+   resource "github_team_repository" "repo_committer_team_access" {
+       etag       = (known after apply)
+       id         = (known after apply)
+       permission = "maintain"
+       repository = "django-debug-toolbar"
+       team_id    = (known after apply)
    }

  # github_team_repository.repo_team_access["django-debug-toolbar"] will be created
+   resource "github_team_repository" "repo_team_access" {
+       etag       = (known after apply)
+       id         = (known after apply)
+       permission = "triage"
+       repository = "django-debug-toolbar"
+       team_id    = (known after apply)
    }

  # github_team_settings.this["django-debug-toolbar"] will be created
+   resource "github_team_settings" "this" {
+       id        = (known after apply)
+       team_id   = (known after apply)
+       team_slug = (known after apply)
+       team_uid  = (known after apply)

+       review_request_delegation {
+           algorithm    = "LOAD_BALANCE"
+           member_count = 2
+           notify       = false
        }
    }

Plan: 1 to import, 12 to add, 1 to change, 0 to destroy.

📝 Plan generated in Plan org changes and list them in a PR #20

@tim-schilling
Copy link
Member Author

I've invited @Stormheg and @cunla to the pypi projects. The remaining step we need from Jazzband is to transfer the github repo into Django Commons. Once that's done, I can manage the remaining steps.

I'll schedule that time with Jannis.

tim-schilling and others added 3 commits October 23, 2024 12:02
Files changed:
M	terraform/production/repositories.tfvars
@tim-schilling tim-schilling marked this pull request as ready for review October 23, 2024 17:02
@tim-schilling tim-schilling merged commit 2780064 into main Oct 23, 2024
2 checks passed
@tim-schilling tim-schilling deleted the add-django-debug-toolbar branch October 23, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants